package org.hamster.common.aggrid.example;

import java.time.LocalDate;

/**
 * Example data model to demonstrate ag-Grid integration
 */
public class ExampleData {
    private Long id;
    private String name;
    private Integer age;
    private LocalDate dateJoined;
    private Double salary;
    
    public ExampleData() {
    }
    
    public ExampleData(Long id, String name, Integer age, LocalDate dateJoined, Double salary) {
        this.id = id;
        this.name = name;
        this.age = age;
        this.dateJoined = dateJoined;
        this.salary = salary;
    }
    
    // Getters and setters
    public Long getId() {
        return id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public Integer getAge() {
        return age;
    }
    
    public void setAge(Integer age) {
        this.age = age;
    }
    
    public LocalDate getDateJoined() {
        return dateJoined;
    }
    
    public void setDateJoined(LocalDate dateJoined) {
        this.dateJoined = dateJoined;
    }
    
    public Double getSalary() {
        return salary;
    }
    
    public void setSalary(Double salary) {
        this.salary = salary;
    }
    
    @Override
    public String toString() {
        return "ExampleData{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", dateJoined=" + dateJoined +
                ", salary=" + salary +
                '}';
    }
}